package cn.iune.erp.payment;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IAccountPaymentDetailDao {

	public void insert(AccountPaymentDetail a);
	
	public AccountPaymentDetail update(AccountPaymentDetail a);

	public void delete(String fID);

	public AccountPaymentDetail getByID(String fID);
	
	public List<AccountPaymentDetail> getAll();
	
	public List<AccountPaymentDetail> getByMasterID(String fMasterID);

	JSONObject query(JSONObject data) throws SQLException;

	List<AccountPaymentDetail> getByWriteOffNo(String writeOffNo, String enterpriseNo);

	JSONObject create(JSONObject data);

	AccountPaymentDetail getByNo(String accountPaymentNo, String billType, String originNo, String enterpriseNo);






}
